package com.yuyou.tas.service.api.lesson.dto;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class DtoLessonMaterial implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(example = "主键")
    private Long id;

    /**
     * 课程主键
     */
    @ApiModelProperty(example = "课程主键")
    private Long lessonId;

    /**
     * 名称
     */
    @ApiModelProperty(example = "名称")
    private String attchName;

    /**
     * 类型
            0：UNKNOW
            1：PPT
            2：WORD
            3：EXCEL
            4：PDF
            5：RAR
     */
    @ApiModelProperty(example = "类型")
    private Long attchType;

    /**
     * 地址
     */
    @ApiModelProperty(example = "地址")
    private String attchUrl;

    /**
     * 大小
     */
    @ApiModelProperty(example = "大小")
    private Long attchSize;

    /**
     * 权限（是否课预览）
     */
    @ApiModelProperty(example = "权限（是否课预览）")
    private Integer isView;

    /**
     * 权限（是否课下载）
     */
    @ApiModelProperty(example = "权限（是否课下载）")
    private Integer isDowm;

    /**
     * 创建时间
     */
    @ApiModelProperty(example = "创建时间")
    private Date createTime;

    @ApiModelProperty(example = "素材名称")
    private String name;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLessonId() {
        return lessonId;
    }

    public void setLessonId(Long lessonId) {
        this.lessonId = lessonId;
    }

    public String getAttchName() {
        return attchName;
    }

    public void setAttchName(String attchName) {
        this.attchName = attchName;
    }

    public Long getAttchType() {
        return attchType;
    }

    public void setAttchType(Long attchType) {
        this.attchType = attchType;
    }

    public String getAttchUrl() {
        return attchUrl;
    }

    public void setAttchUrl(String attchUrl) {
        this.attchUrl = attchUrl;
    }

    public Long getAttchSize() {
        return attchSize;
    }

    public void setAttchSize(Long attchSize) {
        this.attchSize = attchSize;
    }

    public Integer getIsView() {
        return isView;
    }

    public void setIsView(Integer isView) {
        this.isView = isView;
    }

    public Integer getIsDowm() {
        return isDowm;
    }

    public void setIsDowm(Integer isDowm) {
        this.isDowm = isDowm;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}